package com.yyplatform.admin.platform.generator.model.dto;

import com.yyplatform.admin.platform.generator.utils.NameUtils;
import lombok.Data;

/**
 * Created on 2024-09-24
 */
@Data
public class CodeGenTableDTO {

    private String tableName;

    private String moduleName;

    private String packageName;

    private String businessName;

    private String entityName;



    private String author;

    private Long menuParentId;

    private Long id;

    //首字母小写即可
    public String getCamelCaseEntityName() {
        return Character.toLowerCase(entityName.charAt(0)) + entityName.substring(1);
    }


    private String tagPrefix;


    private String urlPrefix;

    private String roleName;

}
